package com.hdd.biz.finance.mapper;

import com.hdd.biz.app.entity.RewardRecordModel;
import com.hdd.biz.finance.entity.Paymet;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 支付记录 Mapper 接口
 * </p>
 *
 * @author fang
 * @since 2021-03-09
 */
@Mapper
public interface PaymetMapper extends BaseMapper<Paymet> {

    List<RewardRecordModel> rewardRecord(Map<String,Object> map);

    double totalPaymetAmount();
    double todayPaymetAmount();
    double yesterdayPaymetAmount();
    double weekPaymetAmount();
    double monthPaymetAmount();

    Integer totalPaymet();
    Integer todayPaymet();
    Integer yesterdayPaymet();
    Integer weekPaymet();
    Integer monthPaymet();
}
